# _*_ encoding:utf-8 _*_

"""
    该文件返回cconfigparser对象，便于进行读取配置信息
"""
from django.conf import settings

import configparser

config_path = settings.CONFIG_DIR

ConfigObj = configparser.ConfigParser()
ConfigObj.read(config_path, encoding="utf-8")

# if __name__ == '__main__':
#     """测试"""
#     url = ConfigObj.get('config', 'URL')
#     print(url)


